package com.daylive.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import com.daylive.model.Agent;
import com.daylive.page.Pagination;

public interface AgentDao {
	public Agent getAgentById(int id);
	public List<Agent> getAgentList(@Param("companyName")String companyName,Pagination page);
	public List<Agent> getAgentList();
	public int addAgent(Agent agent); 
	public int updateAgent(Agent agent);
	public int delAgent(@Param("id") int id);
	public int delAll(String[] ids);

}
